package com.epfresh.supplier.entity;

import java.util.List;

/**
 * Created by zhaozhenqiang on 2018/5/25.
 */

public class JoinPrepareGrid {


    /**
     * supplyProductDto : {"id":3509,"centerId":1,"centerName":null,"isJoint":true,"title":"甜豆","number":"01170419416524","price":24,"packageSize":1,"packageUnit":"斤","packageContainer":"散货","chargeUnit":"斤","thumbnail":"http://imgtest.epfresh.com/2017%2F1%2F15%2F1484434351849_QQ%E6%88%AA%E5%9B%BE20170113164306.jpg-PRODUCTTHUMBNAIL","receiveTime":"2018-05-24 13:00:00","quantity":4,"actualQuantity":16.31,"items":[{"orderNumber":"64011805230566","quantity":3,"actualQuantity":3.27,"merMsg":""},{"orderNumber":"64011805240000","quantity":1,"actualQuantity":13.04,"merMsg":null}]}
     */

    private SupplyProductDtoBean supplyProductDto;

    public SupplyProductDtoBean getSupplyProductDto() {
        return supplyProductDto;
    }

    public void setSupplyProductDto(SupplyProductDtoBean supplyProductDto) {
        this.supplyProductDto = supplyProductDto;
    }

    public static class SupplyProductDtoBean {
        /**
         * id : 3509
         * centerId : 1
         * centerName : null
         * isJoint : true
         * title : 甜豆
         * number : 01170419416524
         * price : 24.0
         * packageSize : 1.0
         * packageUnit : 斤
         * packageContainer : 散货
         * chargeUnit : 斤
         * thumbnail : http://imgtest.epfresh.com/2017%2F1%2F15%2F1484434351849_QQ%E6%88%AA%E5%9B%BE20170113164306.jpg-PRODUCTTHUMBNAIL
         * receiveTime : 2018-05-24 13:00:00
         * quantity : 4.0
         * actualQuantity : 16.31
         * items : [{"orderNumber":"64011805230566","quantity":3,"actualQuantity":3.27,"merMsg":""},{"orderNumber":"64011805240000","quantity":1,"actualQuantity":13.04,"merMsg":null}]
         */

        private int id;
        private int centerId;
        private String centerName;
        private boolean isJoint;
        private String title;
        private String number;
        private String price;
        private String packageSize;
        private String packageUnit;
        private String packageContainer;
        private String chargeUnit;
        private String thumbnail;
        private String receiveTime;
        private String quantity;
        private String actualQuantity;
        private List<ItemsBean> items;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getCenterId() {
            return centerId;
        }

        public void setCenterId(int centerId) {
            this.centerId = centerId;
        }

        public String getCenterName() {
            return centerName;
        }

        public void setCenterName(String centerName) {
            this.centerName = centerName;
        }

        public boolean isIsJoint() {
            return isJoint;
        }

        public void setIsJoint(boolean isJoint) {
            this.isJoint = isJoint;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getNumber() {
            return number;
        }

        public void setNumber(String number) {
            this.number = number;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getPackageSize() {
            return packageSize;
        }

        public void setPackageSize(String packageSize) {
            this.packageSize = packageSize;
        }

        public String getPackageUnit() {
            return packageUnit;
        }

        public void setPackageUnit(String packageUnit) {
            this.packageUnit = packageUnit;
        }

        public String getPackageContainer() {
            return packageContainer;
        }

        public void setPackageContainer(String packageContainer) {
            this.packageContainer = packageContainer;
        }

        public String getChargeUnit() {
            return chargeUnit;
        }

        public void setChargeUnit(String chargeUnit) {
            this.chargeUnit = chargeUnit;
        }

        public String getThumbnail() {
            return thumbnail;
        }

        public void setThumbnail(String thumbnail) {
            this.thumbnail = thumbnail;
        }

        public String getReceiveTime() {
            return receiveTime;
        }

        public void setReceiveTime(String receiveTime) {
            this.receiveTime = receiveTime;
        }

        public String getQuantity() {
            return quantity;
        }

        public void setQuantity(String quantity) {
            this.quantity = quantity;
        }

        public String getActualQuantity() {
            return actualQuantity;
        }

        public void setActualQuantity(String actualQuantity) {
            this.actualQuantity = actualQuantity;
        }

        public List<ItemsBean> getItems() {
            return items;
        }

        public void setItems(List<ItemsBean> items) {
            this.items = items;
        }

        public static class ItemsBean {
            /**
             * orderNumber : 64011805230566
             * quantity : 3.0
             * actualQuantity : 3.27
             * merMsg : 
             */
            private String name;
            private String orderNumber;
            private String quantity;
            private String actualQuantity;
            private String merMsg;
            private String position;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getOrderNumber() {
                return orderNumber;
            }

            public String getPosition() {
                return position;
            }

            public void setPosition(String position) {
                this.position = position;
            }

            public void setOrderNumber(String orderNumber) {
                this.orderNumber = orderNumber;
            }

            public String getQuantity() {
                return quantity;
            }

            public void setQuantity(String quantity) {
                this.quantity = quantity;
            }

            public String getActualQuantity() {
                return actualQuantity;
            }

            public void setActualQuantity(String actualQuantity) {
                this.actualQuantity = actualQuantity;
            }

            public String getMerMsg() {
                return merMsg;
            }

            public void setMerMsg(String merMsg) {
                this.merMsg = merMsg;
            }
        }
    }
}
